﻿using AutoMail.Email;
using AutoMail.Quartz;
using AutoMail.SqlSugar;

namespace AutoMail.Extend
{
    public static class IocExtend
    {
        public static void AddIoc(this IServiceCollection Services)
        {
            Services.AddSqlSugar();
            Services.AddScoped<IJobServices, JobServices>();
            Services.AddScoped<IEmailHelper, EmailHelper>();
        }
    }
}
